﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;

namespace PSE.ProcessManager.Common.Gateway
{
    [DataContract(Namespace = ProcessMessageHeader.NameSpace, Name = ProcessMessageHeader.Name)]
    public class ProcessMessageHeader
    {
        /// <summary>
        /// Nome do contrato
        /// </summary>
        public const string Name = "ProcessMessageHeader";
        /// <summary>
        /// Nome do Namespace do contrato
        /// </summary>
        public const string NameSpace = "http://www.PSE.com.br/ProcessManager/ProcessMessageHeader";

        /// <summary>
        /// Id da mensagem
        /// </summary>
        [DataMember]
        public int MessageId;
        /// <summary>
        /// Id do Processo
        /// </summary>
        [DataMember]
        public int ProcessId;
        /// <summary>
        /// Operação a ser executada.
        /// </summary>
        [DataMember]
        public string Operation;


        /// <summary>
        /// Rementente da mensagem.
        /// </summary>
        [DataMember]
        public string From;

        /// <summary>
        /// Destinatário da mensagem.
        /// </summary>
        [DataMember]
        public string To;

    }
}
